package com.cjw.pojo.entity.soulread;

import com.cjw.pojo.entity.database.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.ToString;

import javax.persistence.Table;

/**
 * @create_time: 2021.12.30
 * @author : cjw
 */
@Data
@ToString(callSuper = true)
@Table(name = "read_user")
@EqualsAndHashCode(callSuper = true)
@ApiModel("朗读用户关联")
public class ReadUser extends BaseEntity {
    @ApiModelProperty("朗读id")
    private Long readId;

    @ApiModelProperty("用户id")
    private Long userId;

    @ApiModelProperty(name = "类型", notes = "1-点赞 2-收藏")
    private Integer type;
}
